package com.cn.dream_order_server.mapper;

import com.cn.dream_order_server.pojo.GoodCommoditySpu;
import com.cn.dream_order_server.pojo.GoodCommoditySpuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GoodCommoditySpuMapper {
    long countByExample(GoodCommoditySpuExample example);

    int deleteByExample(GoodCommoditySpuExample example);

    int deleteByPrimaryKey(Long id);

    int insert(GoodCommoditySpu record);

    int insertSelective(GoodCommoditySpu record);

    List<GoodCommoditySpu> selectByExample(GoodCommoditySpuExample example);

    GoodCommoditySpu selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") GoodCommoditySpu record, @Param("example") GoodCommoditySpuExample example);

    int updateByExample(@Param("record") GoodCommoditySpu record, @Param("example") GoodCommoditySpuExample example);

    int updateByPrimaryKeySelective(GoodCommoditySpu record);

    int updateByPrimaryKey(GoodCommoditySpu record);
}